
<ion-header>

  <ion-navbar>
    <ion-title>{{room_name}}</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <div class="flex-row">
    <div style="flex: 1" (click)="device_set(room_name,1)">
      <p><ion-icon name="desktop" class="device-icon"></ion-icon></p>
      <p>{{room_name}}设备1</p>
    </div>
    <div style="flex: 1"  (click)="device_set(room_name,2)">
      <p><ion-icon name="desktop" class="device-icon"></ion-icon></p>
      <p>{{room_name}}设备2</p>
    </div>
  </div>
  <div class="flex-row" >
    <div style="flex: 1"  (click)="device_set(room_name,3)">
      <p><ion-icon name="desktop" class="device-icon"></ion-icon></p>
      <p>{{room_name}}设备3</p>
    </div>
    <div style="flex: 1"  (click)="device_set(room_name,4)">
      <p><ion-icon name="desktop" class="device-icon"></ion-icon></p>
      <p>{{room_name}}设备4</p>
    </div>
  </div>
  <div class="flex-row">
    <div style="flex: 1"  (click)="device_set(room_name,5)">
      <p><ion-icon name="desktop" class="device-icon"></ion-icon></p>
      <p>{{room_name}}设备5</p>
    </div>
    <div style="flex: 1"  (click)="device_set(room_name,6)">
      <p><ion-icon name="desktop" class="device-icon"></ion-icon></p>
      <p>{{room_name}}设备6</p>
    </div>
  </div>
  <div class="flex-row">
    <div style="flex: 1"  (click)="device_set(room_name,7)">
      <p><ion-icon name="desktop" class="device-icon"></ion-icon></p>
      <p>{{room_name}}设备7</p>
    </div>
    <div style="flex: 1"  (click)="device_set(room_name,8)">
      <p><ion-icon name="desktop" class="device-icon"></ion-icon></p>
      <p>{{room_name}}设备8</p>
    </div>
  </div>
  <div class="flex-row">
    <div style="flex: 1"  (click)="device_set(room_name,9)">
      <p><ion-icon name="desktop" class="device-icon"></ion-icon></p>
      <p>{{room_name}}设备9</p>
    </div>
    <div style="flex: 1"  (click)="device_set(room_name,10)">
      <p><ion-icon name="desktop" class="device-icon"></ion-icon></p>
      <p>{{room_name}}设备10</p>
    </div>
  </div>



</ion-content>
